//
//  ComposeBaseViewController.m
//  SinaWebo
//
//  Created by wwj on 16/1/13.
//  Copyright © 2016年 亦心. All rights reserved.
//

#import "ComposeBaseViewController.h"

@interface ComposeBaseViewController ()

@end

@implementation ComposeBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self initNavigation];
}

#pragma mark 设置状态栏
-(void)initNavigation{
    //取消按钮
    self.navigationItem.leftBarButtonItem=[[UIBarButtonItem alloc]initWithTitle:@"取消" style:UIBarButtonItemStyleDone target:self action:@selector(cancel)];
    //发送按钮
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"发送" style:UIBarButtonItemStyleDone target:self action:@selector(send)];
    
    //设置中间按钮
    self.title=@"发微博";
    //设置背景颜色
    self.view.backgroundColor=[UIColor whiteColor];
}

#pragma mark 取消按钮的点击事件
-(void)cancel{
    [DCURLRouter dismissTwiceViewControllerAnimated:YES completion:nil];
    
}

-(void)send{
}
@end
